package cn.lili.modules.promotion.entity.dos;

import cn.lili.mybatis.model.BaseStandardEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@TableName("li_blindbox_article_rel")
@ApiModel(value = "盲盒规则")
public class BlindboxArticleRel extends BaseStandardEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @ApiModelProperty(name = "用户id", notes = "")
    private String userId;

    /**
     * 协议id
     */
    @NotEmpty(message = "请输入协议id")
    @ApiModelProperty(name = "协议id", notes = "")
    private String articleId;


    /**
     * 是否同意 true/false 同意/不同意
     */
    @ApiModelProperty(name = "是否同意 true/false 同意/不同意", notes = "")
    private Boolean isAgree;
}
